<div class="tab-pane " id="grid_daiyan">
    <div class="panel panel-default" role="tabpanel" style="">
        <div class="panel-heading">基础设置</div>
        <div class="panel-body">
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">时间</label>
                <div class="col-sm-8 col-xs-12">
                    {php $config['demo_begintime']<$theme['begintime']?($config['demo_begintime']=$theme['begintime']).($config['demo_begintime']=$theme['endtime']):"";}
                    {php echo view_form_field_daterange('demo_time', array('start'=>date('Y-m-d H:i:s',$config['demo_begintime']),'end'=>date('Y-m-d H:i:s',$config['demo_begintime'])), true);}
                    <span class="help-block">时间结束不显示</span>
                </div>
            </div>

            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">配置1</label>
                <div class="col-sm-4 col-xs-12">
                    <div class="input-group">
                        <input type="text" class="form-control"  placeholder="" name="demo_config1"  value="{php echo empty($config['demo_config1'])?1:$config['demo_config1'];}">
                        <span class="input-group-addon">元</span>
                    </div>
                    <span class="help-block">提示：大于0</span>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">配置2</label>
                <div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
                    <label class="radio-inline">
                        <input name="demo_config2" value="0" {if $config['demo_config2']==1} checked="checked"{/if} type="radio">选择1
                    </label>
                    <label class="radio-inline">
                        <input name="demo_config2" value="1" {if $config['demo_config2']==2} checked="checked"{/if} type="radio">选择2
                    </label>
                </div>
            </div>
        </div>
    </div>
</div>

<script>

</script>